package task;

public class Task4_11 {
    public static void main(String[] args) {
        System.out.println(max1(1, 2, 5.5));
    }
    public static int max1(int a,int b){

        return a>b ? a : b;
    }
    public static double max1(double a,double b){

        return a>b ? a : b;
    }
    public static double max1(int a,int b,double c){

        return max1(max1(a,b),c);
    }
}
